'use strict';
// access contorl list
var debug = require('debug')('acl');
var ferror = require('../common/app_utils.js').formatError;
var fout = require('../common/app_utils.js').formatOutput;
var errInfo = require('../common/err_info.js');

module.exports = function(userId, permission, org) {
	// debug('%s %s %s ', '' + userId, '' + permission, '' + org);
	return new Promise(function(fullfil, reject) {
		if (!userId) {
			fullfil(ferror(errInfo.E2203));
		} else {
			fullfil(fout("pass"));
		}
	});
}